package com.crl.ssc.dic.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotEmpty;

/**
 * @description: 字典管理-城市字典DTO
 * @author: 孔垂云
 * @version: 1.0
 * @date: 2020-08-03 18:38:21
 */
@Data
@ApiModel("城市字典")
public class DicCityDTO {

	@ApiModelProperty("省份代码")
	@NotEmpty
	@Length(max = 20)
	private String provinceCode; //省份代码
	@ApiModelProperty("城市代码")
	@NotEmpty
	@Length(max = 20)
	private String cityCode; //城市代码
	@ApiModelProperty("城市名称")
	@Length(max = 10)
	private String cityName; //城市名称


}
